#ifndef MYRECT_H
#define MYRECT_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include <QRect>
#include <QBrush>
#include <QColor>

class MyRect : public QWidget
{
    Q_OBJECT
public:
    explicit MyRect(QWidget *parent = nullptr);

signals:
public:
    void paintEvent(QPaintEvent *event) override;

};

#endif // MYRECT_H
